home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Build Support / MakeFATRules.make < prev    next >
Encoding:
Text File  |  1996-02-19  |  1.5 KB  |  67 lines  |  [TEXT/MPS ]

  1. #---------------------------------------------------------------------------    
  2. #    File:        StubRules.make
  3. #
  4. #    Contains:    Stub Make rules for building parts
  5. #
  6. #    Written by:    Steve Smith
  7. #
  8. #    Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  9. #---------------------------------------------------------------------------    
  10.  
  11. #---------------------------------------------------------------------------    
  12. # MAKE FAT LIBRARY
  13. #---------------------------------------------------------------------------    
  14.  
  15. BUILDFATLIB ƒ ∂
  16.     "{TargetDir}{TargetNameFat}"
  17.  
  18. "{TargetDir}{TargetNameFat}" ƒ    "{TargetDir}{TargetNamePPCLink}" ∂
  19.                                 "{TargetDir}{TargetNameILink}"
  20.     end # not a typo
  21.     if ( `exists "{TargetDir}{TargetNameILink}"` == "" || ∂
  22.             `exists "{TargetDir}{TargetNamePPCLink}"` == "" )
  23.         Echo '### Error: One or both target libraries is missing.'
  24.         Echo '###        Please make sure both libraries are built before'
  25.         Echo '###        executing the -fat build option.'
  26.         Exit 0
  27.     end
  28.     "{MakeFat}" "{TargetDir}{TargetNameILink}" "{TargetDir}{TargetNamePPCLink}" ∂
  29.             -o "{TargetDir}{TargetNameFat}"
  30.  
  31. #---------------------------------------------------------------------------    
  32. # STUB COMPILER RULES
  33. #---------------------------------------------------------------------------    
  34.  
  35. .cpp.o    ƒ    .cpp
  36.     Echo -n ""
  37.  
  38. .c.o    ƒ    .c
  39.     Echo -n ""
  40.  
  41. .cpp.dump     ƒ     .pch
  42.     Echo -n ""
  43.  
  44. .c.dump     ƒ     .pch
  45.     Echo -n ""
  46.  
  47. .xih ƒ .idl
  48.     Echo -n ""
  49.  
  50. .xh ƒ .idl
  51.     Echo -n ""
  52.  
  53. .cpp ƒ .idl
  54.     Echo -n ""
  55.  
  56. .ih ƒ .idl
  57.     Echo -n ""
  58.  
  59. .h ƒ .idl
  60.     Echo -n ""
  61.  
  62. .c ƒ .idl
  63.     Echo -n ""
  64.  
  65. .exp ƒ .idl
  66.     Echo -n ""
  67.